\hypertarget{mypushbuttonfourarithmetic_8h_source}{}\doxysection{mypushbuttonfourarithmetic.\+h}
\mbox{\hyperlink{mypushbuttonfourarithmetic_8h}{浏览该文件的文档.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 \textcolor{comment}{//\#ifndef MYPUSHBUTTONFOURARITHMETIC\_H}}
\DoxyCodeLine{2 \textcolor{comment}{//\#define MYPUSHBUTTONFOURARITHMETIC\_H}}
\DoxyCodeLine{3 }
\DoxyCodeLine{4 \textcolor{comment}{//\#include <QWidget>}}
\DoxyCodeLine{5 \textcolor{comment}{//\#include <QPushButton>}}
\DoxyCodeLine{6 \textcolor{comment}{//\#include <QPainter>}}
\DoxyCodeLine{7 \textcolor{comment}{//\#include <QMouseEvent>}}
\DoxyCodeLine{8 \textcolor{comment}{//\#include <QApplication>}}
\DoxyCodeLine{9 }
\DoxyCodeLine{10 \textcolor{comment}{//\#include "{}xnamespace.h"{}}}
\DoxyCodeLine{11 }
\DoxyCodeLine{12 \textcolor{comment}{//class MyPushButtonFourArithmeticPrivate;}}
\DoxyCodeLine{13 \textcolor{comment}{//class MyPushButtonFourArithmetic : public QPushButton}}
\DoxyCodeLine{14 \textcolor{comment}{//\{}}
\DoxyCodeLine{15 \textcolor{comment}{//    Q\_OBJECT}}
\DoxyCodeLine{16 }
\DoxyCodeLine{17 \textcolor{comment}{//    Q\_PROPERTY(int imageLayerIndex READ getImageLayerIndex WRITE setImageLayerIndex)}}
\DoxyCodeLine{18 }
\DoxyCodeLine{19 \textcolor{comment}{//    Q\_PROPERTY(int leftOperandDeviceIndex READ getLeftOperandDeviceIndex WRITE setLeftOperandDeviceIndex)}}
\DoxyCodeLine{20 \textcolor{comment}{//    Q\_PROPERTY(int rightOperandDeviceIndex READ getRightOperandDeviceIndex WRITE setRightOperandDeviceIndex)}}
\DoxyCodeLine{21 \textcolor{comment}{//    Q\_PROPERTY(My::ObjectType leftOperandObjectType READ getLeftOperandObjectType WRITE setLeftOperandObjectType)}}
\DoxyCodeLine{22 \textcolor{comment}{//    Q\_PROPERTY(My::ObjectType rightOperandObjectType READ getRightOperandObjectType WRITE setRightOperandObjectType)}}
\DoxyCodeLine{23 \textcolor{comment}{//    Q\_PROPERTY(int leftOperandObjectIndex READ getLeftOperandObjectIndex WRITE setLeftOperandObjectIndex)}}
\DoxyCodeLine{24 \textcolor{comment}{//    Q\_PROPERTY(int rightOperandObjectIndex READ getRightOperandObjectIndex WRITE setRightOperandObjectIndex)}}
\DoxyCodeLine{25 }
\DoxyCodeLine{26 \textcolor{comment}{//    Q\_PROPERTY(My::FourArithmeticType arithmeticType READ getArithmeticType WRITE setArithmeticType)}}
\DoxyCodeLine{27 \textcolor{comment}{//    Q\_PROPERTY(My::NumberType leftOperandNumberType READ getLeftOperandNumberType WRITE setLeftOperandNumberType)}}
\DoxyCodeLine{28 \textcolor{comment}{//    Q\_PROPERTY(My::NumberType rightOperandNumberType READ getRightOperandNumberType WRITE setRightOperandNumberType)}}
\DoxyCodeLine{29 \textcolor{comment}{//    Q\_PROPERTY(My::DataBaseFormat leftOperandBaseType READ getLeftOperandBaseType WRITE setLeftOperandBaseType)}}
\DoxyCodeLine{30 \textcolor{comment}{//    Q\_PROPERTY(My::DataBaseFormat rightOperandBaseType READ getRightOperandBaseType WRITE setRightOperandBaseType)}}
\DoxyCodeLine{31 \textcolor{comment}{//    Q\_PROPERTY(double leftOperand READ getLeftOperand WRITE setLeftOperand)}}
\DoxyCodeLine{32 \textcolor{comment}{//    Q\_PROPERTY(double rightOperand READ getRightOperand WRITE setRightOperand)}}
\DoxyCodeLine{33 \textcolor{comment}{//    Q\_PROPERTY(My::ValueType leftValueType READ getLeftValueType WRITE setLeftValueType)}}
\DoxyCodeLine{34 \textcolor{comment}{//    Q\_PROPERTY(My::ValueType rightValueType READ getRightValueType WRITE setRightValueType)}}
\DoxyCodeLine{35 }
\DoxyCodeLine{36 \textcolor{comment}{//    Q\_PROPERTY(int resultDeviceIndex READ getResultDeviceIndex WRITE setResultDeviceIndex)}}
\DoxyCodeLine{37 \textcolor{comment}{//    Q\_PROPERTY(My::ObjectType resultObjectType READ getResultObjectType WRITE setResultObjectType)}}
\DoxyCodeLine{38 \textcolor{comment}{//    Q\_PROPERTY(int resultObjectIndex READ getResultObjectIndex WRITE setResultObjectIndex)}}
\DoxyCodeLine{39 \textcolor{comment}{//    Q\_PROPERTY(My::ValueType resultValueType READ getResultValueType WRITE setResultValueType)}}
\DoxyCodeLine{40 }
\DoxyCodeLine{41 \textcolor{comment}{//    Q\_PROPERTY(bool displayDefault READ getDisplayDefault WRITE setDisplayDefault)}}
\DoxyCodeLine{42 }
\DoxyCodeLine{43 \textcolor{comment}{//public:}}
\DoxyCodeLine{44 \textcolor{comment}{//    explicit MyPushButtonFourArithmetic(QWidget *parent = nullptr);}}
\DoxyCodeLine{45 \textcolor{comment}{//    \string~MyPushButtonFourArithmetic();}}
\DoxyCodeLine{46 }
\DoxyCodeLine{47 \textcolor{comment}{//    /* Property Interface */}}
\DoxyCodeLine{48 \textcolor{comment}{//    int getImageLayerIndex() const;}}
\DoxyCodeLine{49 \textcolor{comment}{//    void setImageLayerIndex(int imageLayerInd);}}
\DoxyCodeLine{50 }
\DoxyCodeLine{51 \textcolor{comment}{//    int getLeftOperandDeviceIndex() const;}}
\DoxyCodeLine{52 \textcolor{comment}{//    void setLeftOperandDeviceIndex(int deviceInd);}}
\DoxyCodeLine{53 }
\DoxyCodeLine{54 \textcolor{comment}{//    int getRightOperandDeviceIndex() const;}}
\DoxyCodeLine{55 \textcolor{comment}{//    void setRightOperandDeviceIndex(int deviceInd);}}
\DoxyCodeLine{56 }
\DoxyCodeLine{57 \textcolor{comment}{//    My::ObjectType getLeftOperandObjectType() const;}}
\DoxyCodeLine{58 \textcolor{comment}{//    void setLeftOperandObjectType(My::ObjectType);}}
\DoxyCodeLine{59 }
\DoxyCodeLine{60 \textcolor{comment}{//    My::ObjectType getRightOperandObjectType() const;}}
\DoxyCodeLine{61 \textcolor{comment}{//    void setRightOperandObjectType(My::ObjectType);}}
\DoxyCodeLine{62 }
\DoxyCodeLine{63 \textcolor{comment}{//    int getLeftOperandObjectIndex() const;}}
\DoxyCodeLine{64 \textcolor{comment}{//    void setLeftOperandObjectIndex(int);}}
\DoxyCodeLine{65 }
\DoxyCodeLine{66 \textcolor{comment}{//    int getRightOperandObjectIndex() const;}}
\DoxyCodeLine{67 \textcolor{comment}{//    void setRightOperandObjectIndex(int);}}
\DoxyCodeLine{68 }
\DoxyCodeLine{69 \textcolor{comment}{//    My::FourArithmeticType getArithmeticType() const;}}
\DoxyCodeLine{70 \textcolor{comment}{//    void setArithmeticType(My::FourArithmeticType);}}
\DoxyCodeLine{71 }
\DoxyCodeLine{72 \textcolor{comment}{//    My::NumberType getLeftOperandNumberType() const;}}
\DoxyCodeLine{73 \textcolor{comment}{//    void setLeftOperandNumberType(My::NumberType);}}
\DoxyCodeLine{74 }
\DoxyCodeLine{75 \textcolor{comment}{//    My::NumberType getRightOperandNumberType() const;}}
\DoxyCodeLine{76 \textcolor{comment}{//    void setRightOperandNumberType(My::NumberType);}}
\DoxyCodeLine{77 }
\DoxyCodeLine{78 \textcolor{comment}{//    My::DataBaseFormat getLeftOperandBaseType() const;}}
\DoxyCodeLine{79 \textcolor{comment}{//    void setLeftOperandBaseType(My::DataBaseFormat);}}
\DoxyCodeLine{80 }
\DoxyCodeLine{81 \textcolor{comment}{//    My::DataBaseFormat getRightOperandBaseType() const;}}
\DoxyCodeLine{82 \textcolor{comment}{//    void setRightOperandBaseType(My::DataBaseFormat);}}
\DoxyCodeLine{83 }
\DoxyCodeLine{84 \textcolor{comment}{//    double getLeftOperand() const;}}
\DoxyCodeLine{85 \textcolor{comment}{//    void setLeftOperand(double);}}
\DoxyCodeLine{86 }
\DoxyCodeLine{87 \textcolor{comment}{//    double getRightOperand() const;}}
\DoxyCodeLine{88 \textcolor{comment}{//    void setRightOperand(double);}}
\DoxyCodeLine{89 }
\DoxyCodeLine{90 \textcolor{comment}{//    My::ValueType getLeftValueType() const;}}
\DoxyCodeLine{91 \textcolor{comment}{//    void setLeftValueType(My::ValueType);}}
\DoxyCodeLine{92 }
\DoxyCodeLine{93 \textcolor{comment}{//    My::ValueType getRightValueType() const;}}
\DoxyCodeLine{94 \textcolor{comment}{//    void setRightValueType(My::ValueType);}}
\DoxyCodeLine{95 }
\DoxyCodeLine{96 \textcolor{comment}{//    int getResultDeviceIndex() const;}}
\DoxyCodeLine{97 \textcolor{comment}{//    void setResultDeviceIndex(int);}}
\DoxyCodeLine{98 }
\DoxyCodeLine{99 \textcolor{comment}{//    My::ObjectType getResultObjectType() const;}}
\DoxyCodeLine{100 \textcolor{comment}{//    void setResultObjectType(My::ObjectType);}}
\DoxyCodeLine{101 }
\DoxyCodeLine{102 \textcolor{comment}{//    int getResultObjectIndex() const;}}
\DoxyCodeLine{103 \textcolor{comment}{//    void setResultObjectIndex(int);}}
\DoxyCodeLine{104 }
\DoxyCodeLine{105 \textcolor{comment}{//    My::ValueType getResultValueType() const;}}
\DoxyCodeLine{106 \textcolor{comment}{//    void setResultValueType(My::ValueType);}}
\DoxyCodeLine{107 }
\DoxyCodeLine{108 \textcolor{comment}{//    bool getDisplayDefault() const;}}
\DoxyCodeLine{109 \textcolor{comment}{//    void setDisplayDefault(bool);}}
\DoxyCodeLine{110 }
\DoxyCodeLine{111 \textcolor{comment}{//protected:}}
\DoxyCodeLine{112 \textcolor{comment}{//    void paintEvent(QPaintEvent *ev) override;}}
\DoxyCodeLine{113 }
\DoxyCodeLine{114 \textcolor{comment}{//    void enterEvent(QEvent *ev) override;}}
\DoxyCodeLine{115 \textcolor{comment}{//    void leaveEvent(QEvent *ev) override;}}
\DoxyCodeLine{116 \textcolor{comment}{//    void mousePressEvent(QMouseEvent *ev) override;}}
\DoxyCodeLine{117 \textcolor{comment}{//    void mouseReleaseEvent(QMouseEvent *ev) override;}}
\DoxyCodeLine{118 \textcolor{comment}{//    void mouseMoveEvent(QMouseEvent *ev) override;}}
\DoxyCodeLine{119 }
\DoxyCodeLine{120 \textcolor{comment}{//private:}}
\DoxyCodeLine{121 \textcolor{comment}{//    Q\_DISABLE\_COPY(MyPushButtonFourArithmetic)}}
\DoxyCodeLine{122 \textcolor{comment}{//    MyPushButtonFourArithmeticPrivate *d;}}
\DoxyCodeLine{123 }
\DoxyCodeLine{124 \textcolor{comment}{//\};}}
\DoxyCodeLine{125 }
\DoxyCodeLine{126 \textcolor{comment}{//\#endif // MYPUSHBUTTONFOURARITHMETIC\_H}}

\end{DoxyCode}
